package main

import "fmt"

func test() bool {
	str := "testing...."
	fmt.Println(str)
	return true
}
func test2() bool {
	str2 := "hello fuzhou human"
	fmt.Println(str2)
	return true
}
func main() {
	var a = 29
	var b = 5
	var flag = true
	fmt.Println(a > 10 && b < 10)
	fmt.Println(a > 31 && b < 10)
	fmt.Println(a > 31 || b < 10)
	fmt.Println(a > 31 || b < 3)
	fmt.Println(!flag)
	var c = 89
	var d = 30
	if c > 81 && test() { //c>91会短路,无法打印

	}
	if (d > 38) || test2() { //d>28会短路,无法打印

	}
}
